package com.zyit.DataObject;

public class T_order_info {
    Integer id;
    Integer base_order_id;
    Integer goods_id;
    Integer buy_num;
    Float amount;

    public T_order_info() {
    }

    public T_order_info(Integer id, Integer base_order_id, Integer goods_id, Integer buy_num, Float amount) {
        this.id = id;
        this.base_order_id = base_order_id;
        this.goods_id = goods_id;
        this.buy_num = buy_num;
        this.amount = amount;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBase_order_id() {
        return base_order_id;
    }

    public void setBase_order_id(Integer base_order_id) {
        this.base_order_id = base_order_id;
    }

    public Integer getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Integer goods_id) {
        this.goods_id = goods_id;
    }

    public Integer getBuy_num() {
        return buy_num;
    }

    public void setBuy_num(Integer buy_num) {
        this.buy_num = buy_num;
    }

    public Float getAmount() {
        return amount;
    }

    public void setAmount(Float amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "T_order_info{" +
                "id=" + id +
                ", base_order_id=" + base_order_id +
                ", goods_id=" + goods_id +
                ", buy_num=" + buy_num +
                ", amount=" + amount +
                '}';
    }
}
